package com.auto.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * Description: 项目模块
 * @author liangshf
 * @date 2021-11-26
 */
public class Module implements Serializable {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
	
    /**
     * 模块名称
     */
	private String name;
	
    /**
     * 模块编码
     */
	private String code;
	
    /**
     * torna module id
     */
	private Long tornaModuleId;
	
    /**
     * 开放接口调用token
     */
	private String token;
	


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Long getTornaModuleId() {
		return tornaModuleId;
	}

	public void setTornaModuleId(Long tornaModuleId) {
		this.tornaModuleId = tornaModuleId;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	@Override
	public String toString() {
		return "Module{" +
			", id=" + id +
			", name=" + name +
			", code=" + code +
			", tornaModuleId=" + tornaModuleId +
			", token=" + token +
			"}";
	}
}
